<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!-- footer_begin -->
<%
String dy2_path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
String selecttype = request.getParameter("selecttype");
%>
<script type="text/javascript">
function selectDeviceType(){
	var type = $(".select_down").val();
	if(type=="1"){
		window.location.href = "dykglist.jsp?deviceid=" + dyzfid + "&devicetype=" + dyzftype; 
	}else if(type=="2"){
		window.location.href = "dymxlist.jsp?deviceid=" + dyzfid + "&devicetype=" + dyzftype;
	}else if(type=="3"){
		window.location.href = "dypdplist.jsp?deviceid=" + dyzfid + "&devicetype=" + dyzftype;
	}else if(type=="4"){
		window.location.href = "dykgglist.jsp?deviceid=" + dyzfid + "&devicetype=" + dyzftype;
	}else if(type=="5"){
		window.location.href = "fgdzzlist.jsp?deviceid=" + dyzfid + "&devicetype=" + dyzftype;
	}
}
</script>
<select class="select_down" style="width:180px;" id="myselect" onchange="selectDeviceType();">
	<option value ="1" <%if("1".equals(selecttype)){ %>selected="selected"<%} %>>低压开关</option>
	<option value ="2" <%if("2".equals(selecttype)){ %>selected="selected"<%} %>>低压母线</option>
	<option value ="3" <%if("3".equals(selecttype)){ %>selected="selected"<%} %>>低压配电盘</option>
	<option value ="4" <%if("4".equals(selecttype)){ %>selected="selected"<%} %>>低压开关柜</option>
	<option value ="5" <%if("5".equals(selecttype)){ %>selected="selected"<%} %>>反孤岛装置</option>
</select>